<!--
var onchangefired=false;

function KeySortDropDownList_onkeydown(e, dropdownlist){
    e = (e) ? e : ((window.event) ? window.event : "")
    if (e){
        if (e.keyCode == 13 || e.keyCode == 9 || e.keyCode == 27){ fireChangeEvent(dropdownlist); onchangefired=true; }
    }
}

function KeySortDropDownList_onclick(dropdownlist, defaultIndex) { 
    if (dropdownlist.selectedIndex != defaultIndex && onchangefired==false){ fireChangeEvent(dropdownlist); onchangefired=true; }
}

function KeySortDropDownList_onblur(dropdownlist, defaultIndex) { 
    if (dropdownlist.selectedIndex!=defaultIndex && onchangefired==false){ fireChangeEvent(dropdownlist); }
}

function fireChangeEvent(control)
{
    if (document.all) // IE 5.5+
        control.fireEvent("onChange"); 
    else{ // Firefox and others..
        var changeEvent = window.document.createEvent("HTMLEvents"); 
        changeEvent.initEvent("change", false, true); 
        control.dispatchEvent(changeEvent); 
    };
} 
//-->